﻿using CPPEI.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Demo
{
    [PostAction("test","PostFile","1.0")]
    public class TestPostFileAction : BaseAction<TestTestPostFileParams, TestTestPostFileResult>
    {
        protected override ActionResult<TestTestPostFileResult> OnExecute(ActionContext context, SysParams sysParams, TestTestPostFileParams opParams)
        {
            TestTestPostFileResult result = new TestTestPostFileResult();
            return new ActionResult<TestTestPostFileResult>(result);
        }
    }

    public class TestTestPostFileParams
    {
        public string TAG { get; set; }
        public HttpPostedFile File1;
    }

    public class TestTestPostFileResult
    {
    }
}